<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
	String basePath=request.getContextPath();
%>
<table width="98%" cellpadding="0" cellspacing="1" style="border: 5px 5px 5px 5px;">
	<tr>
		<td align="center" style="font:2.0em 宋体  ;color:black;font-weight: bold;padding:10px 0px 10px 0px; ">
			${tongbao.title}
			<input type="hidden" value="${havePreFlag}" id="__havePreTongBaoFlag"/>
			<input type="hidden" value="${haveNextFlag}" id="__haveNextTongBaoFlag"/>
			<input type="hidden" value="${tongbao.oid }" id="__curTongBaoId"/>
		</td>
	</tr>
	
	<tr>
		<td>
			<span style="float: right">生效日期：
			<font color="red">
				<fmt:formatDate value="${tongbao.ctime}" pattern="yyyy-MM-dd" />
			</font>
			<c:if test="${not empty tongbao.expTime}">
				&nbsp; 至
				<font color="red">
					<fmt:formatDate value="${tongbao.expTime}" pattern="yyyy-MM-dd" />
				</font>
			</c:if>
			</span>
			发布单位：<font color="green">${tongbao.dept.depName}</font> 
		</td>
	</tr>
	<tr>
		<td style="border-top:dashed 1px #ccc;" height="28"></td>
	</tr>
	<tr>
		<td style="font:13px 宋体;color: black;line-height:24px;">
			${tongbao.content}
		</td>
	</tr>
	
	<tr>
		<td height="28"></td>
	</tr>
	<c:if test="${not empty attachs}">
	<c:forEach var="attach" items="${attachs}">
		<tr>
			<td>
				<a href="<%=basePath%>/file-download?fileId=${attach.fileId}", target="_blank">${attach.fileName}</a>
			</td>
		</tr>
	</c:forEach>
	</c:if>	
	
</table>